package com.book.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 书本详情
 * </p>
 *
 * @author auto
 * @since 2025-04-04 11:06:08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("book_detail")
@ApiModel(value = "BookDetail对象", description = "书本详情")
public class BookDetail {

    @ApiModelProperty("ISBN编号")
    @TableField("isbn")
    private String isbn;

    @ApiModelProperty("主键")
    @TableId(value = "book_detail_id", type = IdType.ASSIGN_UUID)
    private String bookDetailId;

    @ApiModelProperty("出版社")
    @TableField("publisher")
    private String publisher;

    @ApiModelProperty("出版地")
    @TableField("publish_location")
    private String publishLocation;

    @ApiModelProperty("出版时间")
    @TableField("publish_date")
    private Date publishDate;

    @ApiModelProperty("装帧方式")
    @TableField("binding_type")
    private String bindingType;

    @ApiModelProperty("开本")
    @TableField("book_size")
    private String bookSize;

    @ApiModelProperty("页数")
    @TableField("page_size")
    private Long pageSize;

    @ApiModelProperty("摘要")
    @TableField("summary")
    private String summary;

    @ApiModelProperty("印刷时间")
    @TableField("print_date")
    private Date printDate;

    @ApiModelProperty("版次")
    @TableField("edition")
    private String edition;


}
